<?php ob_start(); ?> 
<?php header ('Content-type: text/xml; charset=utf-8'); ?>     

<?php include "constants.inc" ?>

<?php include "classes.inc" ?>

<?php session_start(); ?>

<?php

function storeComment() {

	

	if (isset($_GET['comment'])) {

		$comment = $_GET['comment'];

	}

	

	if (isset($_GET['playerListId'])) {

		$playerListId = $_GET['playerListId'];

	}

	

	if (isset($comment)) {

        $_SESSION['mailMessage'.$playerListId] = $comment;

	    return '1';

    }

    return '0';

}

?>

<response>

  <method>storeClubTeams</method>

  <result><?php

    echo storeComment()?></result>

</response>